import Taro, { Component, Config } from '@tarojs/taro'
import { View, Text, Image, Button } from '@tarojs/components'
import './kefu.scss'
import kefu from './../../images/kefu.png'

export class Kefu extends Component {

  submitForm(e){
      wx.requestSubscribeMessage({
        tmplIds: ['75444Gu2MkTDio83j28j_1SEx14lAH_jwQZ3g66Ptcs'],
        success (res) { 
          console.log(res)
        }
    })
    return false
  }
  
  render () {
    return (
    <Button open-type="contact" session-from="weapp" className="bottom_xf">
      <View >
        <Image src={kefu} className="img-plus-style"  mode="widthFix"  />
        <Text className="title-big">在线客服(Online Service)</Text>
      </View>
    </Button>
    )
  }
}
